home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_action.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  3.3 KB  |  112 lines

  1. /*****************************************************************************
  2.   FILE           : ui_action.ph
  3.   SHORTNAME      : action.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 1.2.1990
  11.  
  12.   CHANGED BY     :
  13.   IDENTIFICATION : @(#)ui_action.ph    1.9 3/2/94
  14.   SCCS VERSION   : 1.9
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_ACTION_DEFINED_
  23. #define _UI_ACTION_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void  ui_action_init (void);
  30. void  ui_action_unitsMovev (void);
  31. void  ui_action_unitsCopy (void);
  32. void  ui_action_unitInsert (int);
  33. void  ui_action_linksMakeBidirectional (void);
  34. void  ui_action_linksMakeReverse (void);
  35. void  ui_action_linksCopy (void);
  36. void  ui_action_linksCopyEnvironment (void);
  37. void  ui_action_linksMakeClique (int);
  38. void  ui_action_linksMakeFromSourceUnit (int);
  39. void  ui_action_linksMakeToTargetUnit (int);
  40. void  ui_action_linksSet (void);
  41. void  ui_action_unitsDelete (void);
  42. void  ui_action_setUnitAttribute (FlagType);
  43. void  ui_action_sitesCopy (void);
  44. void  ui_action_graphicsDirection (void);
  45. void  ui_action_graphicsGrid (void);
  46. void  ui_action_UnitZcoordinate (void);
  47. void  ui_action_UnitZsetReference (void);
  48. void  ui_action_unitsMove (void);
  49. void  ui_action_sitesMake (int);
  50. void  ui_action_setUnitLayers (void);
  51. void  ui_action_unitSetDefaultType (void);
  52.  
  53.  
  54. int   ui_kernelError; /* stores the error reported by kernel functions */
  55.  
  56. short ui_actualZvalue;
  57.  
  58. struct LinkAttributeType   ui_link; /* attributes of the link shown in the 
  59.                        info panel */
  60.  
  61. unsigned short ui_layerReturnValue; /* return value of the layer panel */
  62.  
  63. /* end global definition section */
  64.  
  65.  
  66. /* begin private definition section */
  67.  
  68.  
  69. #define  UI_GENERAL  0  /* unit number 0: no special unit */
  70.  
  71.  
  72. static Bool  ui_action_checkNewPositions (int);
  73. static Bool  ui_action_createLink (int, int, char [], FlintType);
  74. static Bool  ui_action_deleteLink (int, int, char []);
  75. static Bool  ui_action_getSite (int);
  76. static Bool  ui_action_isNewUnit (int);
  77.  
  78.  
  79.     /*********************************************************************
  80.                               NAMES of local VARIABLES
  81.   
  82.       selPtr           ptr to step through the XGUI's selection list
  83.       mainSelPtr       if a outer and a inner step loop required, mainSelPtr
  84.                         holds the ptr of the outer loop
  85.  
  86.  
  87.                               FURTHER REMARKS
  88.  
  89.       Sometimes the operation has to erase first all selection markers 
  90.     in order to produce a "nice" picture. This is done with the routine:
  91.                         ui_sel_reshowItems()
  92.       This routine performs everytime a XOR raster operation when drawing 
  93.     the markers, so the next time the routine will be called, the 
  94.     markes occur again.
  95.  
  96.     **********************************************************************/
  97.  
  98. static struct SimpleListType ui_action_listSite; /* list of all sites */
  99. static char ui_action_siteName[MAX_NAME_LENGTH];
  100.                              /* site name choosed in the site list */
  101.  
  102.  
  103. /* end private definition section */
  104.  
  105.  
  106. #endif /* _UI_ACTION_DEFINED_ */
  107.  
  108.  
  109.  
  110. /* end of file */
  111. /* lines: 52 */
  112.